<style type="text/css">
.progressBar .border { background-color: #fff; border: 1px solid #fff; width: 100%; }
.progressBar .background { background-color: #333; height: 18px; width: 0%; }
</style>
<% content_for('tasks') do %>
	<%= task_overview %>
<% end %> 

<% @page_heading = _('Upload a File to your Site') %>
<%= form_tag_with_upload_progress({:action => 'upload'}, { :begin => "new Effect.Appear('status')", :finish => "$('message').innertHTML = arguments[0]" }) %>
<label for="upload_filename">File:</label><br /><%= file_field 'upload', 'filename' -%><br />
<%= submit_tag _('Upload') -%>
<div id='status' style="display: none"><%= upload_status_tag %></div>
</form>

<div id="message"><%= @message %></div>
